// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
// 集成路由
import router from './router'
import elementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss'

//当项目发布阶段vue核心包中的所有打印信息不会在控制台出现
Vue.config.productionTip = false

//集成element-ui
// import elementUI from 'element-ui'
Vue.use(elementUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})


// 作用:1.导入路由处理模块router/index.js
//       2.集成第三方(组件)库(element-ui)
//       3.new Vue({
//         el:'#app',
//         render.c=>c(App)
//       })
